package com.xyoto.community.adminController;

import com.xyoto.community.service.QuestionService;
import com.xyoto.community.utils.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * @Author lin
 * @Date 2021/10/3 20:07
 */
//@RestController
@RequestMapping("/admin/topic")
@Api(value = "QuestionAdminController", tags = "话题-问答后台接口")
public class QuestionAdminController {

//    @Resource
//    private QuestionService questionService;

//    @ApiOperation("删除问答")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "questionId" ,value = "删除问答" ,required = true)
//    })
//    @DeleteMapping("/removeQuestionById")
//    public Result removeQuestion(@RequestParam(value = "questionId") Integer questionId){
//        return questionService.removeQuestion(questionId);
//    }

}
